t=linspace(0,2*pi,1000);
y=2*cos(3*t+pi/4);
plot(t,y);
xlabel('t');
ylabel('y');
tltle('graph of y=2*cos(3*t+pi/4) ')
grid on;